package com.yungam.common.bean.report;

import lombok.Data;

import java.util.List;

@Data
public class TreeBean {

    private String name;
    private List<Product> children;
    private Integer number = 1;

    @Data
    public static class Product {

        private String name;
        private List<Process> children;
        private Integer number = 2;

    }

    @Data
    public static class Process {

        private String name;
        private String processNo;
        private Integer number = 3;

    }

}
